import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
import org.zs.aop04.Calculator;
import org.zs.javaConfig04.JavaConfig;

@SpringJUnitConfig(value = JavaConfig.class)
public class ApoTest04 {

    @Autowired
    private Calculator calculator;

    @Test
    public void aop04test() {
        calculator.add(1, 2);
    }
}
